//
//  BZBViewController.m
//  1243
//
//  Created by apple on 16/7/12.
//  Copyright © 2016年 1243. All rights reserved.
//

#import "BZBViewController.h"

#import "ActivityView.h"
@interface BZBViewController ()

@end

@implementation BZBViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    
    
    [self createUI];
}

- (void)createUI {
    ActivityView *activityView = [[ActivityView alloc]initWithFrame:CGRectMake(0, 0, WIDTH, HEIGHT)];
    activityView.LocalBlock = ^void() {
        [self localAction];
    };
    
    
    [self.view addSubview:activityView];
}

#pragma mark --- 定位
- (void)localAction {
        NSLog(@"死循环懵逼😊");
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
